package misc;

import geom.Polygone;

import java.io.Serializable;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author romainpogu
 */
public class Enregistrement implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -3935530245872046969L;
	double champM,champAlpha,champBeta,champK,champR,champIterations;
    private Polygone villes;

    public double getM(){
		return champM;
	}

	public double getR(){
		return champR;
	}

	public double getK(){
		return champK;
	}

	public double getAlpha(){
		return champAlpha;
	}

	public double getBeta(){
		return champBeta;
	}

	public double getIterations(){
		return champIterations;
	}

    public void setM(double M){
		this.champM=M;
	}

    public void setR(double R){
		this.champR=R;
	}

    public void setK(double K){
		this.champK=K;
	}

    public void setAlpha(double Alpha){
		this.champAlpha=Alpha;
	}

    public void setBeta(double Beta){
		this.champBeta=Beta;
	}

    public void setIterations(double Iterations){
		this.champIterations=Iterations;
	}

    public void setVilles(Polygone villes) {
        this.villes=villes;
    }

    public Polygone getVilles(){
        return this.villes;
    }

    public Enregistrement(double champM,double champAlpha,double champBeta,double champK,double champR,double champIterations, Polygone villes){
        this.setAlpha(champAlpha);
        this.setBeta(champBeta);
        this.setIterations(champIterations);
        this.setK(champK);
        this.setM(champM);
        this.setR(champR);
        this.setVilles(villes);
    }
}
